import React, { useState } from "react";
import "./index.css";
import { SetOutline } from 'antd-mobile-icons'
function Index() {
  const [userText, setUserText] = useState(
    JSON.parse(localStorage.getItem("userInfo"))
  );
  // 个人信息从本地获取
  console.log(userText);
  return (
    <div className="userItem">
      <div className="userItem-box1">
        <div className="userItem-box1-text">
          <img src={userText.avatar} alt="" />
          <span>{userText.nickname}</span>
        </div>
      </div>

      <div>

        <SetOutline />
      </div>
    </div>
  );
}

export default Index;
